home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / udev / rules.d / 61-mobile-action.rules < prev    next >
Text File  |  2009-11-03  |  572b  |  15 lines

  1. ACTION!="add", GOTO="mobile_action_end"
  2.  
  3. SUBSYSTEM=="usb", ATTR{bDeviceClass}=="00|ff", ATTR{bDeviceSubClass}=="00|ff", ENV{DEVTYPE}=="usb_device", GOTO="mobile_action_switch"
  4. GOTO="mobile_action_end"
  5.  
  6. LABEL="mobile_action_switch"
  7. ATTRS{idVendor}=="0df7", ATTRS{idProduct}=="0800", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t mobile-action-8280p"
  8.  
  9. # modem-modeswitch does not work with these devices, the fake CD-ROM needs to be ejected
  10.  
  11. # ZTE MF6xx
  12. ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="/usr/bin/eject %k"
  13.  
  14. LABEL="mobile_action_end"
  15.